//objectcomments PFC Cross Platform service forward global type pfc_n_cst_platform from n_base end type type rect from structure within pfc_n_cst_platform end type end forward type rect from structure long left long top long right long bottom end type global type pfc_n_cst_platform from n_base end type global pfc_n_cst_platform pfc_n_cst_platform type prototypes Public: // GDI32 - Device Context FUNCTION unsignedLong GetDeviceCaps(unsignedLong hDC,unsignedLong nIndex) LIBRARY "gdi32.dll" // User32 - Menu FUNCTION Boolean DeleteMenu(unsignedLong hMenu, unsignedInteger uPosition, unsignedInteger uFlags) LIBRARY "user32.dll" FUNCTION Boolean DrawMenuBar(unsignedLong hWnd) LIBRARY "user32.dll" FUNCTION unsignedLong GetMenu(unsignedLong hWnd) LIBRARY "user32.dll" FUNCTION Integer GetMenuItemCount(unsignedLong hMenu) LIBRARY "user32.dll" FUNCTION unsignedInteger GetMenuItemID(unsignedLong hMenu, Integer nPos) LIBRARY "user32.dll" FUNCTION Integer GetMenuString(unsignedLong hMenu, unsignedInteger uIDItem, REF String lpString, integer nMaxCount, unsignedInteger uFlag) LIBRARY "user32.dll" ALIAS FOR "GetMenuStringA;Ansi" FUNCTION unsignedLong GetSubMenu(unsignedLong hMenu, Integer nPos) LIBRARY "user32.dll" FUNCTION unsignedLong GetSystemMenu(unsignedLong hWnd, Boolean bRevert) LIBRARY "user32.dll" FUNCTION Boolean InsertMenu(unsignedLong hMenu, unsignedInteger uPosition, unsignedInteger uFlags, unsignedInteger uIDNewItem, REF String lpNewItem) LIBRARY "user32.dll" ALIAS FOR "InsertMenuA;Ansi" FUNCTION Boolean InsertMenu(unsignedLong hMenu, unsignedInteger uPosition, unsignedInteger uFlags, unsignedInteger uIDNewItem) LIBRARY "user32.dll" ALIAS FOR "InsertMenuA;Ansi" FUNCTION Boolean ModifyMenu(unsignedLong hMenu, unsignedInteger uPosition, unsignedInteger uFlags, unsignedInteger uIDNewItem, REF String lpNewItem) LIBRARY "user32.dll" ALIAS FOR "ModifyMenuA;Ansi" FUNCTION Boolean ModifyMenu(unsignedLong hMenu, unsignedInteger uPosition, unsignedInteger uFlags, unsignedInteger uIDNewItem) LIBRARY "user32.dll" ALIAS FOR "ModifyMenuA;Ansi" FUNCTION Boolean RemoveMenu(unsignedLong hMenu, unsignedInteger uPosition, unsignedInteger uFlags) LIBRARY "user32.dll" // User32 - Configuration FUNCTION unsignedInteger GetSystemMetrics(Integer nIndex) LIBRARY "user32.dll" // User32 - Window FUNCTION unsignedLong GetSysColor(Integer nIndex) LIBRARY "user32.dll" FUNCTION unsignedLong SetParent(unsignedLong hWndChild, unsignedLong hWndNewParent) LIBRARY "user32.dll" FUNCTION Boolean SetWindowPos(unsignedLong hWnd, Integer X, Integer Y, Integer cx, Integer cy, unsignedInteger uFlags) LIBRARY "user32.dll" FUNCTION Boolean SetWindowPos(unsignedLong hWnd, unsignedLong hWndInsertAfter, Integer X, Integer Y, Integer cx, Integer cy, unsignedInteger uFlags) LIBRARY "user32.dll" // User32 - Window Class FUNCTION Long GetWindowLong(unsignedLong hWnd, Integer nIndex) LIBRARY "user32.dll" ALIAS FOR "GetWindowLongA;Ansi" FUNCTION Long SetWindowLong(unsignedLong hWnd, Integer nIndex, unsignedLong dwNewLong) LIBRARY "user32.dll" ALIAS FOR "SetWindowLongA;Ansi" // User32 - Device Context Function unsignedLong GetDC(unsignedLong hWnd) Library "USER32.DLL" Function Integer ReleaseDC(unsignedLong hWnd, unsignedLong hDC) Library "USER32.DLL" Private: // User32 - Window FUNCTION Boolean GetClientRect(unsignedLong hWnd, REF Rect lpRect) LIBRARY "user32.dll" end prototypes type variables Protected: string is_separator string is_ClassName[] = {"FNWND3", "FNWNS3"} end variables forward prototypes public function integer of_getactivewindowborder () public function string of_getcomputername () public function integer of_getfreeresources (integer ai_type) public function string of_getsystemdirectory () public function integer of_gettextsize (ref window aw_obj, string as_text, string as_fontface, integer ai_fontsize, boolean ab_bold, boolean ab_italic, boolean ab_underline, ref integer ai_height, ref integer ai_width) public function string of_getuserid () public function string of_getwindowsdirectory () public function string of_getwindowtext (unsignedinteger ai_handle) public function boolean of_isapprunning (string as_app_name) public function long of_PageSetupDlg (ref s_pagesetupattrib astr_pagesetup) public function integer of_playsound (string as_file) public function integer of_PlaySound (string as_file, boolean ab_beeponfailure) public function integer of_setfindwindowclasses (string as_classname[]) public function integer of_getknownfolderpath (integer ai_foldercode, ref string as_folderpath) public function integer of_getknownfolderpath (integer ai_foldercode, boolean ab_currentpath, ref string as_folderpath) public function unsignedlong of_getsyscolor (integer ai_index) public function unsignedlong of_getdpix () public function unsignedlong of_getdpiy () public function integer of_maxpath () public function unsignedinteger of_getsystemmetrics (integer ai_index) public function boolean of_getclientrect (unsignedlong vul_hwnd, ref long rl_left, ref long rl_top, ref long rl_right, ref long rl_bottom) public function longlong of_getfreememory () public function longlong of_getphysicalmemory () public function ulong of_findwindow (string as_window_name) end prototypes public function integer of_getactivewindowborder ();////////////////////////////////////////////////////////////////////////////// // In case this function is not found in descendant ////////////////////////////////////////////////////////////////////////////// return -1 end function public function string of_getcomputername ();////////////////////////////////////////////////////////////////////////////// // In case this function is not found in descendant ////////////////////////////////////////////////////////////////////////////// return "" end function public function integer of_getfreeresources (integer ai_type); //Virtual function - the following is to prevent Visual Expert from flagging unused arguments any la_temp la_temp = ai_type ////////////////////////////////////////////////////////////////////////////// // In case this function is not found in descendant ////////////////////////////////////////////////////////////////////////////// return -1 end function public function string of_getsystemdirectory ();////////////////////////////////////////////////////////////////////////////// // Public Function: of_GetSystemDirectory // Arguments: none // Returns: string // system directory // "" if error // Description: Return the window's system directory ////////////////////////////////////////////////////////////////////////////// // Rev. History Version // 5.0 Initial version // 5.0.03 Changed Uint variables to Ulong for NT4.0 compatibility // 12.5 Logic has been moved to fileSrv object. This is // is here for backward compatibility. ////////////////////////////////////////////////////////////////////////////// /* * Open Source PowerBuilder Foundation Class Libraries * * Copyright (c) 2004-2017, All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted in accordance with the MIT License * * https://opensource.org/licenses/MIT * * ==================================================================== * * This software consists of voluntary contributions made by many * individuals and was originally based on software copyright (c) * 1996-2004 Sybase, Inc. http://www.sybase.com. For more * information on the Open Source PowerBuilder Foundation Class * Libraries see https://github.com/OpenSourcePFCLibraries */ ////////////////////////////////////////////////////////////////////////////// n_cst_fileSrv lnvo_fileSrv f_setFileSrv(lnvo_fileSrv, TRUE) String ls_systemDirectory ls_systemDirectory = lnvo_fileSrv.of_getSystemDirectory() f_setFileSrv(lnvo_fileSrv, FALSE) Return(ls_systemDirectory) end function public function integer of_gettextsize (ref window aw_obj, string as_text, string as_fontface, integer ai_fontsize, boolean ab_bold, boolean ab_italic, boolean ab_underline, ref integer ai_height, ref integer ai_width); //Virtual function - the following is to prevent Visual Expert from flagging unused arguments any la_temp la_temp = aw_obj la_temp = as_text la_temp = as_fontface la_temp = ai_fontsize la_temp = ab_bold la_temp = ab_italic la_temp = ab_underline la_temp = ai_height la_temp = ai_width ////////////////////////////////////////////////////////////////////////////// // In case this function is not found in descendant ////////////////////////////////////////////////////////////////////////////// Return -1 end function public function string of_getuserid ();////////////////////////////////////////////////////////////////////////////// // In case this function is not found in descendant ////////////////////////////////////////////////////////////////////////////// return "" end function public function string of_getwindowsdirectory ();////////////////////////////////////////////////////////////////////////////// // Public Function: of_GetWindowsDirectory // Arguments: none // Returns: string // windows directoy // "" if error // Description: Return the window's directory ////////////////////////////////////////////////////////////////////////////// // Rev. History Version // 5.0 Initial version // 5.0.03 Changed int variables to Ulong for NT4.0 compatibility // 12.5 Logic has been moved to fileSrv object. This is // is here for backward compatibility. ////////////////////////////////////////////////////////////////////////////// /* * Open Source PowerBuilder Foundation Class Libraries * * Copyright (c) 2004-2017, All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted in accordance with the MIT License * * https://opensource.org/licenses/MIT * * ==================================================================== * * This software consists of voluntary contributions made by many * individuals and was originally based on software copyright (c) * 1996-2004 Sybase, Inc. http://www.sybase.com. For more * information on the Open Source PowerBuilder Foundation Class * Libraries see https://github.com/OpenSourcePFCLibraries */ ////////////////////////////////////////////////////////////////////////////// n_cst_fileSrv lnvo_fileSrv f_setFileSrv(lnvo_fileSrv, TRUE) String ls_windowsDirectory ls_windowsDirectory = lnvo_fileSrv.of_getWindowsDirectory() f_setFileSrv(lnvo_fileSrv, FALSE) Return(ls_windowsDirectory) end function public function string of_getwindowtext (unsignedinteger ai_handle); //Virtual function - the following is to prevent Visual Expert from flagging unused arguments any la_temp la_temp = ai_handle ////////////////////////////////////////////////////////////////////////////// // In case this function is not found in descendant ////////////////////////////////////////////////////////////////////////////// return "" end function public function boolean of_isapprunning (string as_app_name); //Virtual function - the following is to prevent Visual Expert from flagging unused arguments any la_temp la_temp = as_app_name ////////////////////////////////////////////////////////////////////////////// // In case this function is not found in descendant ////////////////////////////////////////////////////////////////////////////// boolean lb_temp setnull (lb_temp) return lb_temp end function public function long of_PageSetupDlg (ref s_pagesetupattrib astr_pagesetup);////////////////////////////////////////////////////////////////////////////// // Public Function: of_PageSetupDlg // Arguments: astr_pagesetup - page setup structure by ref // Returns: 1 = success // 0 = User cancelled from page setup dialog // -1 = error // Description: Opens the page setup dialog ////////////////////////////////////////////////////////////////////////////// // Rev. History Version // 5.0 Initial version ////////////////////////////////////////////////////////////////////////////// /* * Open Source PowerBuilder Foundation Class Libraries * * Copyright (c) 2004-2017, All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted in accordance with the MIT License * * https://opensource.org/licenses/MIT * * ==================================================================== * * This software consists of voluntary contributions made by many * individuals and was originally based on software copyright (c) * 1996-2004 Sybase, Inc. http://www.sybase.com. For more * information on the Open Source PowerBuilder Foundation Class * Libraries see https://github.com/OpenSourcePFCLibraries */ ////////////////////////////////////////////////////////////////////////////// long ll_rc ll_rc = OpenWithParm (w_pagesetup, astr_pagesetup) if ll_rc > 0 then astr_pagesetup = message.PowerObjectParm if not astr_pagesetup.b_actiontaken then ll_rc = 0 end if end if return ll_rc end function public function integer of_playsound (string as_file); //Virtual function - the following is to prevent Visual Expert from flagging unused arguments any la_temp la_temp = as_file ////////////////////////////////////////////////////////////////////////////// // In case this function is not found in descendant ////////////////////////////////////////////////////////////////////////////// return -1 end function public function integer of_PlaySound (string as_file, boolean ab_beeponfailure);////////////////////////////////////////////////////////////////////////////// // Public Function: of_PlaySound // Arguments: as_file - sound file to play // ab_beeponfailure - Play a beep if the requested sound fails. // Returns: integer // Description: Play a sound file ////////////////////////////////////////////////////////////////////////////// // Rev. History Version // 6.0 Initial version ////////////////////////////////////////////////////////////////////////////// /* * Open Source PowerBuilder Foundation Class Libraries * * Copyright (c) 2004-2017, All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted in accordance with the MIT License * * https://opensource.org/licenses/MIT * * ==================================================================== * * This software consists of voluntary contributions made by many * individuals and was originally based on software copyright (c) * 1996-2004 Sybase, Inc. http://www.sybase.com. For more * information on the Open Source PowerBuilder Foundation Class * Libraries see https://github.com/OpenSourcePFCLibraries */ ////////////////////////////////////////////////////////////////////////////// Integer li_rc // Play the sound. li_rc = of_playsound(as_file) // Confirm that the sound was played succesfully. If li_rc <= 0 Then // Play a default beep. beep(1) End If Return li_rc end function public function integer of_setfindwindowclasses (string as_classname[]);////////////////////////////////////////////////////////////////////////////// // Public Function: of_SetFindWindowClasses // Arguments: as_className[] - An array of window class names to be used by the service. // Returns: Integer. Returns 1 if the function succeeds -1 if an error occurs. // Description: The function sets the class window class names to be used by the service. of_FindWindow // will use all of the class names specified in the as_className array. // The defaults are PowerBuilder window class names - "FNWND390" and "FNWNS390". ////////////////////////////////////////////////////////////////////////////// // Rev. History Version // 7.0 Initial version // 8.0 Change PB window class names // 12.5 Change PB window class names ////////////////////////////////////////////////////////////////////////////// /* * Open Source PowerBuilder Foundation Class Libraries * * Copyright (c) 2004-2017, All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted in accordance with the MIT License * * https://opensource.org/licenses/MIT * * ==================================================================== * * This software consists of voluntary contributions made by many * individuals and was originally based on software copyright (c) * 1996-2004 Sybase, Inc. http://www.sybase.com. For more * information on the Open Source PowerBuilder Foundation Class * Libraries see https://github.com/OpenSourcePFCLibraries */ ////////////////////////////////////////////////////////////////////////////// long ll_idx, ll_upper ll_upper = UpperBound(as_className) IF ll_upper < 1 THEN return -1 FOR ll_idx = 1 TO ll_upper IF IsNull(as_className[ll_idx]) THEN // Nulls are allowed as wildcards Continue END IF IF Len(as_className[ll_idx]) < 1 THEN return -1 END IF NEXT is_className = as_className return 1 end function public function integer of_getknownfolderpath (integer ai_foldercode, ref string as_folderpath); //Virtual function - the following is to prevent Visual Expert from flagging unused arguments any la_temp la_temp = ai_foldercode la_temp = as_folderpath ////////////////////////////////////////////////////////////////////////////// // In case this function is not found in descendant ////////////////////////////////////////////////////////////////////////////// return -1 end function public function integer of_getknownfolderpath (integer ai_foldercode, boolean ab_currentpath, ref string as_folderpath); //Virtual function - the following is to prevent Visual Expert from flagging unused arguments any la_temp la_temp = ai_foldercode la_temp = ab_currentpath la_temp = as_folderpath ////////////////////////////////////////////////////////////////////////////// // In case this function is not found in descendant ////////////////////////////////////////////////////////////////////////////// return -1 end function public function unsignedlong of_getsyscolor (integer ai_index);///////////////////////////////////////////////////////////////////////// // // Function: of_getSysColor // // Access: public // // Arguments: Integer index indicating the system color to // return // // Returns: unsignedLong color requested // // Description: Returns a system color for the color requested by the // index parameter // ///////////////////////////////////////////////////////////////////////// // // Revision History // // Version 12.5 Initial version // ///////////////////////////////////////////////////////////////////////// // // Open Source PowerBuilder Foundation Class Libraries // // Copyright (c) 2004-2017, All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted in accordance with the MIT License // // // https://opensource.org/licenses/MIT // // This software consists of voluntary contributions made by many // individuals and was originally based on software copyright (c) // 1996-2004 Sybase, Inc. http://www.sybase.com. For more // information on the Open Source PowerBuilder Foundation Class // Libraries see https://github.com/OpenSourcePFCLibraries // ///////////////////////////////////////////////////////////////////////// Return(getSysColor(ai_index)) end function public function unsignedlong of_getdpix ();///////////////////////////////////////////////////////////////////////// // // Function: of_getDPIX // // Access: public // // Arguments: None // // Returns: UnsignedLong Dots per inch // // Description: Returns the number of pixels per logical inch along the // screen width // ///////////////////////////////////////////////////////////////////////// // // Revision History // // Version 12.5 Initial version // ///////////////////////////////////////////////////////////////////////// // // Open Source PowerBuilder Foundation Class Libraries // // Copyright (c) 2004-2017, All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted in accordance with the MIT License // // // https://opensource.org/licenses/MIT // // This software consists of voluntary contributions made by many // individuals and was originally based on software copyright (c) // 1996-2004 Sybase, Inc. http://www.sybase.com. For more // information on the Open Source PowerBuilder Foundation Class // Libraries see https://github.com/OpenSourcePFCLibraries // ///////////////////////////////////////////////////////////////////////// n_cst_platFormAttrib lnvo_constants UnsignedLong lul_DPI, lul_hDC lul_hDC = GetDC(0) lul_DPI = GetDeviceCaps(lul_hDC, lnvo_constants.LOGPIXELSX) ReleaseDC(0, lul_hDC) Return(lul_DPI) end function public function unsignedlong of_getdpiy ();///////////////////////////////////////////////////////////////////////// // // Function: of_getDPIY // // Access: public // // Arguments: None // // Returns: UnsignedLong Dots per inch // // Description: Returns the number of pixels per logical inch along the // screen height // ///////////////////////////////////////////////////////////////////////// // // Revision History // // Version 12.5 Initial version // ///////////////////////////////////////////////////////////////////////// // // Open Source PowerBuilder Foundation Class Libraries // // Copyright (c) 2004-2017, All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted in accordance with the MIT License // // // https://opensource.org/licenses/MIT // // This software consists of voluntary contributions made by many // individuals and was originally based on software copyright (c) // 1996-2004 Sybase, Inc. http://www.sybase.com. For more // information on the Open Source PowerBuilder Foundation Class // Libraries see https://github.com/OpenSourcePFCLibraries // ///////////////////////////////////////////////////////////////////////// n_cst_platFormAttrib lnvo_constants UnsignedLong lul_DPI, lul_hDC lul_hDC = GetDC(0) lul_DPI = GetDeviceCaps(lul_hDC, lnvo_constants.LOGPIXELSY) ReleaseDC(0, lul_hDC) Return(lul_DPI) end function public function integer of_maxpath ();Return(260) end function public function unsignedinteger of_getsystemmetrics (integer ai_index);///////////////////////////////////////////////////////////////////////// // // Function: of_getSystemMetrics // // Access: public // // Arguments: Integer index indicating the system metric to // return // // Returns: unsignedLong metric requested // // Description: Returns a system metric for the metric requested by the // index parameter // ///////////////////////////////////////////////////////////////////////// // // Revision History // // Version 12.5 Initial version // ///////////////////////////////////////////////////////////////////////// // // Open Source PowerBuilder Foundation Class Libraries // // Copyright (c) 2004-2017, All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted in accordance with the MIT License // // // https://opensource.org/licenses/MIT // // This software consists of voluntary contributions made by many // individuals and was originally based on software copyright (c) // 1996-2004 Sybase, Inc. http://www.sybase.com. For more // information on the Open Source PowerBuilder Foundation Class // Libraries see https://github.com/OpenSourcePFCLibraries // ///////////////////////////////////////////////////////////////////////// Return(getSystemMetrics(ai_index)) end function public function boolean of_getclientrect (unsignedlong vul_hwnd, ref long rl_left, ref long rl_top, ref long rl_right, ref long rl_bottom);///////////////////////////////////////////////////////////////////////// // // Function: of_getClientRect // // Access: public // // Arguments: unsignedLong A handle to the window whose client // coordinates are to be retrieved // Long by Ref Will hold the left pixel position // Long by Ref Will hold the top pixel position // Long by Ref Will hold the right pixel position // Long by Reg Will hold the bottom pixel position // // Returns: Boolean TRUE if call succeeds // // Description: Returns the value representing the client rectangle for // the handle indicated // ///////////////////////////////////////////////////////////////////////// // // Revision History // // Version 12.5 Initial version // ///////////////////////////////////////////////////////////////////////// // // Open Source PowerBuilder Foundation Class Libraries // // Copyright (c) 2004-2017, All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted in accordance with the MIT License // // // https://opensource.org/licenses/MIT // // This software consists of voluntary contributions made by many // individuals and was originally based on software copyright (c) // 1996-2004 Sybase, Inc. http://www.sybase.com. For more // information on the Open Source PowerBuilder Foundation Class // Libraries see https://github.com/OpenSourcePFCLibraries // ///////////////////////////////////////////////////////////////////////// Rect lstr_rectangle Boolean lb_RC lb_RC = getClientRect(vul_hWnd, lstr_rectangle) rl_left = lstr_rectangle.Left rl_top = lstr_rectangle.Top rl_right = lstr_rectangle.Right rl_bottom = lstr_rectangle.Bottom Return(lb_RC) end function public function longlong of_getfreememory ();////////////////////////////////////////////////////////////////////////////// // In case this function is not found in descendant ////////////////////////////////////////////////////////////////////////////// return -1 end function public function longlong of_getphysicalmemory ();////////////////////////////////////////////////////////////////////////////// // In case this function is not found in descendant ////////////////////////////////////////////////////////////////////////////// return -1 end function public function ulong of_findwindow (string as_window_name); //Virtual function - the following is to prevent Visual Expert from flagging unused arguments any la_temp la_temp = as_window_name ////////////////////////////////////////////////////////////////////////////// // In case this function is not found in descendant ////////////////////////////////////////////////////////////////////////////// return 0 end function on pfc_n_cst_platform.create call super::create end on on pfc_n_cst_platform.destroy call super::destroy end on
- Sources
- PFC2025-Solution
- pfc libs
- pfcapsrv.pbl
- pfc_n_cst_platform.sru
File: pfc_n_cst_platform.sru
Size: 27092
Date: Sun, 16 Mar 2025 05:42:20 +0100
Size: 27092
Date: Sun, 16 Mar 2025 05:42:20 +0100
- n_base pfc_n_cst_platform(sru)
- of_findwindow (string as_window_name) returns ulong
- of_getactivewindowborder () returns integer
- of_getclientrect (unsignedlong vul_hwnd, ref long rl_left, ref long rl_top, ref long rl_right, ref long rl_bottom) returns boolean
- of_getcomputername () returns string
- of_getdpix () returns unsignedlong
- of_getdpiy () returns unsignedlong
- of_getfreememory () returns longlong
- of_getfreeresources (integer ai_type) returns integer
- of_getknownfolderpath (integer ai_foldercode, boolean ab_currentpath, ref string as_folderpath) returns integer
- of_getknownfolderpath (integer ai_foldercode, ref string as_folderpath) returns integer
- of_getphysicalmemory () returns longlong
- of_getsyscolor (integer ai_index) returns unsignedlong
- of_getsystemdirectory () returns string
- of_getsystemmetrics (integer ai_index) returns unsignedinteger
- of_gettextsize (ref window aw_obj, string as_text, string as_fontface, integer ai_fontsize, boolean ab_bold, boolean ab_italic, boolean ab_underline, ref integer ai_height, ref integer ai_width) returns integer
- of_getuserid () returns string
- of_getwindowsdirectory () returns string
- of_getwindowtext (unsignedinteger ai_handle) returns string
- of_isapprunning (string as_app_name) returns boolean
- of_maxpath () returns integer
- of_pagesetupdlg (ref s_pagesetupattrib astr_pagesetup) returns long
- of_playsound (string as_file) returns integer
- of_playsound (string as_file, boolean ab_beeponfailure) returns integer
- of_setfindwindowclasses (string as_classname[]) returns integer